package com.example.springboot.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.springboot.domain.po.Account;
import com.example.springboot.domain.po.Record;
import com.example.springboot.domain.po.User;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @Author：伐柯梦姝
 * @Package：com.example.springboot.service
 * @Project：springboot
 * @name：RecordService
 * @Date：2025/2/23 21:12
 * @Filename：RecordService
 * @for:
 */
public interface RecordService extends IService<Record> {
    List<Record> GetAll();

    Record recordRegister(Record record);

    Record findById(Integer id);

    void delete(Integer id);


    PageInfo<Record> findPage(Record search, Integer pageNum, Integer pageSize);

    List<Record> findByCondition(Record search, Account user);

    Record recordEdit(Record record);

}


